import request from '@/utils/request';

export function getXhEventList(data) {
  return request({
    url: '/XhEvent/GetXhEventList',
    method: 'post',
    data
  });
}

export function getXhEventInfo(data) {
  return request({
    url: '/XhEvent/GetXhEventInfo?XhEventID=' + data,
    method: 'get'
  });
}

export function saveXhEventInfo(data) {
  return request({
    url: '/XhEvent/SaveXhEventInfo',
    method: 'post',
    data
  });
}
export function setXhEventState(data) {
  return request({
    url: '/XhEvent/setXhEventState',
    method: 'post',
    data
  });
}